package com.itheima.springbootredis;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;


@SpringBootApplication
public class SpringbootRedisApplication {

    public static void main(String[] args) {
        //启动springBoot的应用,并返回一个IOC容器
        ConfigurableApplicationContext context = SpringApplication.run(SpringbootRedisApplication.class, args);
//        Object redisTemplate = context.getBean("redisTemplate");
//        System.out.println(redisTemplate);

    }

}
